package cn.nexd.app.collector.presenter.collect;

import cn.nexd.app.collector.activity.BaseView;
import cn.nexd.app.collector.presenter.BasePresenter;

/**
 * Created by wangxu on 16/9/9.
 */
public class MainContract {

    public interface View extends BaseView<Presenter> {
        void updateEnvironment(String environment);

        void updateSensorStep(String step);

        void startCompassFile ();

        void endCompassFile();

        void pauseCollection(int errorCode);
    }

    public interface Presenter extends BasePresenter {

        void startCollector(String floorId, String currentMallPy, String user);

        void stopCollector();

        void saveData();

        void cancelData();
    }
}

